<script>

    //定义常量

    const PI = "3.1415";
    //常量值一旦定义，不能改变
    //PI = 3; //Uncaught TypeError: Assignment to constant variable.

    //定义常量必须初始化

    const AA //:11 Uncaught SyntaxError: Missing initializer in const declaration
</script>